package org.myl.jdk.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author myl
 * @date 2024/04/23

CREATE TABLE `farm_land`  (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '编号',
`name` varchar(24) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称',
`rich_level` int(11) NOT NULL DEFAULT 1 COMMENT '解锁所需用户等级',
`price` int(18) NOT NULL DEFAULT 0 COMMENT '解锁价格',
`create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '农场土地表' ROW_FORMAT = Dynamic;
 */

@Data
@ToString(callSuper = true)
@NoArgsConstructor
public class FarmLand {

    private Integer id;

    private String name;

    private Integer richLevel;

    private Integer price;

    @JsonIgnore
    private Date createTime;




}